﻿
@{
    Layout = null;
}

<!DOCTYPE html>
<!--[if IE 6 ]> <html class="ie6 lte_ie6 lte_ie7 lte_ie8 lte_ie9"> <![endif]-->
<!--[if lte IE 6 ]> <html class="lte_ie6 lte_ie7 lte_ie8 lte_ie9"> <![endif]-->
<!--[if lte IE 7 ]> <html class="lte_ie7 lte_ie8 lte_ie9"> <![endif]-->
<!--[if lte IE 8 ]> <html class="lte_ie8 lte_ie9"> <![endif]-->
<!--[if lte IE 9 ]> <html class="lte_ie9"> <![endif]-->
<!--[if (gte IE 10)|!(IE)]><!-->
<html>
<!--<![endif]-->
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="ie-stand">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>@ViewBag.Title</title>
    @Styles.Render("~/Content/CSS")
    <link type="text/css" rel="stylesheet" href="http://at.alicdn.com/t/font_777781_5xvlg7elwk8.css">
    @RenderSection("styles", required: false)
</head>
<body>
    @RenderBody()

    @Scripts.Render("~/Content/JS")
    @{
        if (ViewBag.msg != null && ViewBag.msg != "")
        {
            <script type="text/javascript">
                layer.msg("@ViewBag.msg", {
                    time: 2000//2s后自动关闭
                });
            </script>
        }
    }
    @{
        if (ViewBag.Btns != null)
        {
            <script type="text/javascript">
                 var data = @Html.Raw(ViewBag.Btns);
                if (data!= null)
                {
                    for (var o of data) {
                       
                        document.getElementById(o).style.display = "none";
                    }
                }
            </script>
        }
    }
    @RenderSection("scripts", required: false)

</body>
</html>
